package com.hb.game.pk.adpter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hb.game.pk.R;
import com.hb.game.pk.beans.SYbean;

public class RecommendActivityListAdapter extends BaseQuickAdapter<SYbean.DataBean.ListBean, BaseViewHolder> {
    public RecommendActivityListAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, SYbean.DataBean.ListBean item) {
        helper.setText(R.id.tv_nickname, item.getNickname());
        helper.setText(R.id.tv_money, (Float.parseFloat(item.getFenyong_edu()) / 100f) + "");
        helper.setText(R.id.tv_down, item.getLv());
        helper.setText(R.id.tv_date, item.getFyDate());
    }
}
